class Dog {
  String? name;
  int? age;

  eat() {
    print('$name正在吃东西');
  }

  intro(String location) {
    _run(location);
  }

  _run(String location) {
    print('$name正在$location跑');
  }
}